package cate.common.table.item.kitchenware.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.util.random.RWItem;

@EExcelRowClass(IDTitle = "索引ID")
public class KitchenwareAttrRow extends ERow implements RWItem {
    @EExcelNoteField(fieldName = "属性组ID")
    public int attrGroup;
    @EExcelNoteField(fieldName = "属性")
    public String attrStr;
    @EExcelNoteField(fieldName = "权重")
    public double weight;
    @EExcelNoteField(fieldName = "原型ID")
    public int protoId;

    @Override
    public double getWeight() {
        return weight;
    }
}
